import request from '@/utils/request'

export function orderList(data) {
  return request({
    url: '/escm/bookingOrder',
    method: 'get',
    params: data
  })
}

export function settlementList(data) {
  return request({
    url: '/escm/settlement',
    method: 'get',
    params: data
  })
}

export function supplierList(data) {
  return request({
    url: '/escm/supplier',
    method: 'get',
    params: data
  })
}

export function supplierContactList(data) {
  return request({
    url: '/escm/supplierContact',
    method: 'get',
    params: data
  })
}

export function supplierBankList(data) {
  return request({
    url: '/escm/supplierBank',
    method: 'get',
    params: data
  })
}

export function pickAddressList(data) {
  return request({
    url: '/escm/pickAddress',
    method: 'get',
    params: data
  })
}

export function materialList(data) {
  return request({
    url: '/escm/material',
    method: 'get',
    params: data
  })
}

export function deliveryAddressList(data) {
  return request({
    url: '/escm/deliveryAddress',
    method: 'get',
    params: data
  })
}

export function orderLogistics(orderNo) {
  return request({
    url: '/escm/orderLogistics',
    method: 'get',
    params: { orderNo: orderNo }
  })
}
